#!/usr/bin/env python
# -*- coding: UTF-8 -*-

#-------------------------------------------------------------------------------
# Copyright (c) 2010 Giuseppe Buzzanca (PiDy) <giuseppebuzzanca@gmail.com>.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
# Contributors:
#     Giuseppe Buzzanca (PiDy) <giuseppebuzzanca@gmail.com> - initial API and implementation
#-------------------------------------------------------------------------------

from google.appengine.ext import db


class Users(db.Model):
    """Return a db.Model object that represent an entity of the Users table."""
    topic = db.StringProperty()
    twitterUserName = db.StringProperty()
    twitterUserToken = db.StringProperty()
    twitterUserSecret = db.StringProperty()
    bitlyLogin = db.StringProperty()
    bitlyApiKey = db.StringProperty()
    active = db.BooleanProperty()


class Activities(db.Model):
    """Return a db.Model object that represent an entity of the Activitues table."""
    repliesCount = db.IntegerProperty()
    likedCount = db.IntegerProperty()
